package com.zerui.manager.web.enums;

import lombok.Getter;

@Getter
public enum AuthTaskSyncStatusEnum {

    SYNC_WAIT(0, "未执行"),
    SYNC_DOING(1, "执行中"),
    SYNC_FAILURE(2, "执行失败"),
    SYNC_DONE(3, "执行成功");

    private final int code;

    private final String name;

    AuthTaskSyncStatusEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }


    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}
